package com.fengze.business.service;

import java.util.List;
import com.fengze.business.domain.PerformancePlan;

/**
 * 合同履约计划Service接口
 * 
 * @author lug
 * @date 2024-02-04
 */
public interface IPerformancePlanService 
{
    /**
     * 查询合同履约计划
     * 
     * @param id 合同履约计划主键
     * @return 合同履约计划
     */
    public PerformancePlan selectPerformancePlanById(Long id);

    /**
     * 查询合同履约计划列表
     * 
     * @param performancePlan 合同履约计划
     * @return 合同履约计划集合
     */
    public List<PerformancePlan> selectPerformancePlanList(PerformancePlan performancePlan);

    /**
     * 新增合同履约计划
     * 
     * @param performancePlan 合同履约计划
     * @return 结果
     */
    public int insertPerformancePlan(PerformancePlan performancePlan);

    /**
     * 修改合同履约计划
     * 
     * @param performancePlan 合同履约计划
     * @return 结果
     */
    public int updatePerformancePlan(PerformancePlan performancePlan);

    /**
     * 批量删除合同履约计划
     * 
     * @param ids 需要删除的合同履约计划主键集合
     * @return 结果
     */
    public int deletePerformancePlanByIds(Long[] ids);

    /**
     * 删除合同履约计划信息
     * 
     * @param id 合同履约计划主键
     * @return 结果
     */
    public int deletePerformancePlanById(Long id);
}
